package com.example.kt_base.s4

//TODO 74.Kotlin语言的次构造函数
class KtBase74(name:String){
    constructor(name: String, age: Int):this(name){
        println("2个参数的次构造函数：name:$name,age:$age")
    }
}
fun main() {

    KtBase74("Derry", 18,)

}
